﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using LDSBusiness.EventArgs;
using LDSCore;
using LDSModel;

namespace LDSBusiness
{
    public delegate void DelegateEmpty();
    public delegate void DelegateInt();
    public delegate void DelegateSetInfo(string info, bool isok);
    public delegate void DelegateAppendChartPoint(Data_Records record, bool rewrite);
    public delegate void DelegateMsgProcess(object sender, MsgProcessEventArgs args);
    public delegate void DelegateOilTankStateChanged(object sender, OilTankStateChangedEventArgs args);
    public delegate void DelegateDeviceStateChanged(object sender, DeviceStateChangedEventArgs args);
    public delegate void DelegateRecordReceived(object sender, RecordReceivedEventArgs args);

    public delegate void DelegateRefreshValue(Guid deviceId, Panel panel, Dictionary<Guid, List<Data_Records>> dataList, bool isPer);
    public delegate void DelegateRefreshValue1(Guid deviceId, Panel panel, Dictionary<int, List<Data_Records>> dataList);
    public delegate void DelegateRefreshDevice(Control control, Guid deviceId, DeviceState state);
}
